Skip to content

docs: document the trigger skills installer (replaces agent rules)#3871

Open
ericallam wants to merge 3 commits into
mainfrom
docs/trigger-skills-command
Open

docs: document the trigger skills installer (replaces agent rules)#3871
ericallam wants to merge 3 commits into
mainfrom
docs/trigger-skills-command

Conversation

@ericallam

Copy link
Copy Markdown
Member

Summary

Updates the AI-tooling docs for the new trigger skills installer that shipped in #3868. The Skills page now documents trigger skills (skills bundled with the CLI, version-matched to your SDK) and the four bundled skills: authoring-tasks, realtime-and-frontend, authoring-chat-agent, chat-agent-advanced. The old Agent Rules page becomes a short "rules are now skills" redirect (kept because existing redirects and the CLI link point at it), and the Building with AI overview collapses the three-way Skills/Rules/MCP comparison into Skills vs MCP.

Hold until the v4.5 CLI release ships, since trigger skills is not on npm until then.

@coderabbitai

coderabbitai Bot commented Jun 8, 2026

Copy link
Copy Markdown
Contributor

Review Change Stack

Walkthrough

This PR rewrites and aligns documentation to introduce Trigger.dev agent skills installed via the bundled CLI command npx trigger.dev@latest skills. The skills.mdx page is restructured (concept, install flow, non-interactive flags, catalog, supported assistants, and update behavior). building-with-ai.mdx and mcp-agent-rules.mdx are updated to reference the new skills workflow and adjusted next-step cards; mcp-agent-rules.mdx is condensed to explain the transition to version-matched SKILL.md skill directories.

🚥 Pre-merge checks | ✅ 4 | ❌ 1

❌ Failed checks (1 warning)

Check name Status Explanation Resolution
Description check ⚠️ Warning The description is missing required template sections (Closes issue, Checklist, Testing, and Screenshots), though it provides a clear summary of the changes and context about the v4.5 release dependency. Add the required checklist items, testing description, and issue reference from the template to ensure full compliance with the repository's contribution standards.
✅ Passed checks (4 passed)
Check name Status Explanation
Title check ✅ Passed The title accurately summarizes the main change: documenting the trigger skills installer as a replacement for agent rules, directly matching the core objective of this documentation update.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch docs/trigger-skills-command

Warning

There were issues while running some tools. Please review the errors and either fix the tool's configuration or disable the tool if it's a critical failure.

🔧 ESLint

If the error stems from missing dependencies, add them to the package.json file. For unrecoverable errors (e.g., due to private dependencies), disable the tool in the CodeRabbit configuration.

ESLint install timed out. The project may have too many dependencies for the sandbox.


Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@mintlify

mintlify Bot commented Jun 8, 2026

Copy link
Copy Markdown
Contributor

Preview deployment for your docs. Learn more about Mintlify Previews.

Project Status Preview Updated (UTC)
trigger 🟢 Ready View Preview Jun 8, 2026, 5:07 PM

💡 Tip: Enable Workflows to automatically generate PRs for you.

@changeset-bot

changeset-bot Bot commented Jun 8, 2026

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: 7b931f1

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

devin-ai-integration[bot]

This comment was marked as resolved.

Rewrites the Skills page for the trigger skills command and the four bundled skills, turns the old Agent Rules page into a redirect to Skills, and collapses the Building with AI comparison to Skills vs MCP.
@pkg-pr-new

pkg-pr-new Bot commented Jun 12, 2026

Copy link
Copy Markdown

Open in StackBlitz

@trigger.dev/build

npm i https://pkg.pr.new/@trigger.dev/build@7b931f1

trigger.dev

npm i https://pkg.pr.new/trigger.dev@7b931f1

@trigger.dev/core

npm i https://pkg.pr.new/@trigger.dev/core@7b931f1

@trigger.dev/plugins

npm i https://pkg.pr.new/@trigger.dev/plugins@7b931f1

@trigger.dev/python

npm i https://pkg.pr.new/@trigger.dev/python@7b931f1

@trigger.dev/react-hooks

npm i https://pkg.pr.new/@trigger.dev/react-hooks@7b931f1

@trigger.dev/redis-worker

npm i https://pkg.pr.new/@trigger.dev/redis-worker@7b931f1

@trigger.dev/rsc

npm i https://pkg.pr.new/@trigger.dev/rsc@7b931f1

@trigger.dev/schema-to-json

npm i https://pkg.pr.new/@trigger.dev/schema-to-json@7b931f1

@trigger.dev/sdk

npm i https://pkg.pr.new/@trigger.dev/sdk@7b931f1

commit: 7b931f1

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 2


ℹ️ Review info
⚙️ Run configuration

Configuration used: Repository UI

Review profile: CHILL

Plan: Pro

Run ID: cd90127b-559b-483a-987d-ccb9b78255a2

📥 Commits

Reviewing files that changed from the base of the PR and between afa3b53 and 7b931f1.

📒 Files selected for processing (4)
  • docs/building-with-ai.mdx
  • docs/mcp-agent-rules.mdx
  • docs/mcp-introduction.mdx
  • docs/skills.mdx
💤 Files with no reviewable changes (1)
  • docs/mcp-introduction.mdx
📜 Review details
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (1)
  • GitHub Check: Build and publish previews
🧰 Additional context used
📓 Path-based instructions (1)
docs/**/*.mdx

📄 CodeRabbit inference engine (docs/CLAUDE.md)

docs/**/*.mdx: MDX documentation pages must include frontmatter with title (required), description (required), and sidebarTitle (optional) in YAML format
Use Mintlify components for structured content: , , , , , , /, /
Always import from @trigger.dev/sdk in code examples (never from @trigger.dev/sdk/v3)
Code examples must be complete and runnable where possible
Use language tags in code fences: typescript, bash, json

Files:

  • docs/mcp-agent-rules.mdx
  • docs/building-with-ai.mdx
  • docs/skills.mdx
🧠 Learnings (2)
📚 Learning: 2026-03-10T12:44:14.176Z
Learnt from: nicktrn
Repo: triggerdotdev/trigger.dev PR: 3200
File: docs/config/config-file.mdx:353-368
Timestamp: 2026-03-10T12:44:14.176Z
Learning: In the trigger.dev repo, docs PRs are often companions to implementation PRs. When reviewing docs PRs (MDX files under docs/), check the PR description for any companion/related PR references and verify that the documented features exist in those companion PRs before flagging missing implementations. This ensures docs stay in sync with code changes across related PRs.

Applied to files:

  • docs/mcp-agent-rules.mdx
  • docs/building-with-ai.mdx
  • docs/skills.mdx
📚 Learning: 2026-04-30T20:30:29.458Z
Learnt from: ericallam
Repo: triggerdotdev/trigger.dev PR: 3226
File: docs/ai-chat/quick-start.mdx:13-13
Timestamp: 2026-04-30T20:30:29.458Z
Learning: In this repo’s documentation MDX files (`docs/**/*.mdx`), use `ts` and `tsx` (not `typescript`) as the code-fence language tags for TypeScript/TSX snippets. Do not flag `ts`/`tsx` code-fence language tags as incorrect in any docs MDX file, since this is the site-wide Mintlify-compatible convention.

Applied to files:

  • docs/mcp-agent-rules.mdx
  • docs/building-with-ai.mdx
  • docs/skills.mdx
🪛 LanguageTool
docs/building-with-ai.mdx

[uncategorized] ~43-~43: The official name of this software platform is spelled with a capital “H”.
Context: ...| .claude/skills/, .cursor/skills/, .github/skills/, .agents/skills/ | `mcp.json...

(GITHUB)

docs/skills.mdx

[uncategorized] ~27-~27: The official name of this software platform is spelled with a capital “H”.
Context: ... (.claude/skills/, .cursor/skills/, .github/skills/, .agents/skills/). It also w...

(GITHUB)


[uncategorized] ~64-~64: The official name of this software platform is spelled with a capital “H”.
Context: ...(https://github.com/features/copilot) | .github/skills/ | | [Codex CLI](https://github...

(GITHUB)

🔇 Additional comments (1)
docs/mcp-agent-rules.mdx (1)

1-41: LGTM!

Comment thread docs/building-with-ai.mdx
Comment on lines 24 to 29
<Step title="Install Skills">
Portable instruction sets that teach any AI coding assistant Trigger.dev best practices. Works with Claude Code, Cursor, Windsurf, VS Code (Copilot), and any tool that supports the [Agent Skills standard](https://agentskills.io).
Portable instruction sets that teach any AI coding assistant Trigger.dev best practices: writing tasks, realtime frontends, and `chat.agent` AI agents. They ship with the CLI, version-matched to your SDK, and install into Claude Code, Cursor, VS Code (Copilot), and Codex / AGENTS.md.

```bash
npx skills add triggerdotdev/skills
npx trigger.dev@latest skills
```

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue | 🟡 Minor | ⚡ Quick win

Don't describe AGENTS.md as a skills install target.

Line 25 says skills install into “Codex / AGENTS.md”, but this page later correctly says the skills directory is .agents/skills/ and uses AGENTS.md only for the passive context-file fallback. That wording sends AGENTS-based users to the wrong place.

Suggested fix
-  Portable instruction sets that teach any AI coding assistant Trigger.dev best practices: writing tasks, realtime frontends, and `chat.agent` AI agents. They ship with the CLI, version-matched to your SDK, and install into Claude Code, Cursor, VS Code (Copilot), and Codex / AGENTS.md.
+  Portable instruction sets that teach any AI coding assistant Trigger.dev best practices: writing tasks, realtime frontends, and `chat.agent` AI agents. They ship with the CLI, version-matched to your SDK, and install into Claude Code, Cursor, VS Code (Copilot), and AGENTS-compatible tools such as Codex via `.agents/skills/`.

Comment thread docs/skills.mdx
Comment on lines +21 to +34
The skills ship inside the `trigger.dev` CLI, version-matched to the SDK you have installed. Run:

```bash
npx skills add triggerdotdev/skills
npx trigger.dev@latest skills
```

<Note>`skills` is an open-source CLI by Vercel. Learn more at [skills.sh](https://skills.sh).</Note>
The CLI detects your installed AI tools, lets you pick which skills to install, and copies each one into that tool's native skills directory (`.claude/skills/`, `.cursor/skills/`, `.github/skills/`, `.agents/skills/`). It also writes a one-line pointer into your primary instructions file (`CLAUDE.md`, `.cursor/rules`, etc.) so your assistant always knows the skills are there and loads the right one on demand.

The result: your AI assistant understands Trigger.dev's specific patterns for exports, schema validation, error handling, retries, and more.

## Available skills
When you run `trigger dev` for the first time, the CLI offers to install the skills for you.

Install all skills at once, or pick the ones relevant to your current work:
<Note>
Because the skills are bundled with the CLI, the guidance your assistant gets is pinned to the
Trigger.dev version you are actually building against, instead of always being the latest from the
internet.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue | 🟠 Major

Fix skills versioning wording to match the CLI pinning behavior

docs/skills.mdx currently claims the skills are “version-matched to the SDK you have installed” / “pinned to the Trigger.dev version you are actually building against”, but the installer pins/stamps the bundled skills from the running/installing trigger.dev CLI version (the one you invoke with npx trigger.dev@latest skills), not from the project’s @trigger.dev/sdk version. Align this wording in docs/skills.mdx (lines 21-34 and 69-71) and update other pages that use the same “version-matched to your SDK” phrasing (e.g., docs/building-with-ai.mdx, docs/mcp-agent-rules.mdx).

Suggested wording direction
-The skills ship inside the `trigger.dev` CLI, version-matched to the SDK you have installed. Run:
+The skills ship inside the `trigger.dev` CLI. Run:

-  Because the skills are bundled with the CLI, the guidance your assistant gets is pinned to the
-  Trigger.dev version you are actually building against, instead of always being the latest from the
-  internet.
+  Because the skills are bundled with the CLI, the guidance your assistant gets is pinned to the
+  CLI version you install. After you upgrade Trigger.dev, re-run the installer to refresh the
+  bundled skills.
🧰 Tools
🪛 LanguageTool

[uncategorized] ~27-~27: The official name of this software platform is spelled with a capital “H”.
Context: ... (.claude/skills/, .cursor/skills/, .github/skills/, .agents/skills/). It also w...

(GITHUB)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant